import Vue from 'vue'
import Vuex from 'vuex'
import getters from './getters'
import system from './modules/system'
import user from './modules/user'
import video from './modules/video'
import live from './modules/live'
import config from './modules/config'
Vue.use(Vuex)

const store = new Vuex.Store({
  modules: {
    system,
    user,
    video,
    live,
    config
  },
  getters
})

export default store
